package com.tengfei.main.course.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tengfei.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 章节对象 cs_chapter
 *
 * @author tengfei
 * @date 2022-07-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cs_chapter")
public class Chapter extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 章节id
     */
    @TableId(value = "chapter_id")
    private Long chapterId;
    /**
     * 章节名称
     */
    private String chapterName;
    /**
     * 课程id
     */
    private Long courseId;
    /**
     * 排序等级
     */
    private Integer chapterLevel;
    /**
     * 章节视频数
     */
    private Integer chapterVideoCount;
    /**
     * 是否删除(1:显示,0:删除)
     */
    @TableLogic
    private Integer showStatus;

}
